package com.ssy.lingxi.member.merchant.model.vo.validate.response;

import com.ssy.lingxi.member.merchant.handler.annotation.CurrencyTypeAnnotation;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 会员入库分类信息
 * @author 万宁
 * @version 2.0.0
 * @date 2021-05-31
 */
@Data
public class MemberClassifyVO implements Serializable {
    private static final long serialVersionUID = 3437388839515244392L;

    public MemberClassifyVO() {
        this.code = "";
        this.partnerTypeName = "";
        this.maxAmount = "";
        this.classifyAreas = new ArrayList<>();
        this.categories = new ArrayList<>();
    }

    /**
     * 入库分类信息 - 会员编码
     */
    private String code;

    /**
     * 入库分类信息 - 合作关系名称
     */
    private String partnerTypeName;

    /**
     * 入库分类信息 - 单次合作金额
     */
    private String maxAmount;

    /**
     * 入库分类信息 - 适用区域
     */
    private List<String> classifyAreas;

    /**
     * 入库分类信息 - 主营品类
     */
    private List<BusinessCategoryQueryVO> categories;

    /**
     * 币别枚举
     * 1: CNY-人民币
     * 2: USD-美元
     * 3: JPY-日元
     * 4: EUR-欧元
     */
    private Integer currencyType;

    /**
     * 币别名称
     */
    private String currencyTypeName;

    /**
     * 备注
     */
    private String remark;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPartnerTypeName() {
        return partnerTypeName;
    }

    public void setPartnerTypeName(String partnerTypeName) {
        this.partnerTypeName = partnerTypeName;
    }

    public String getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(String maxAmount) {
        this.maxAmount = maxAmount;
    }

    public List<String> getClassifyAreas() {
        return classifyAreas;
    }

    public void setClassifyAreas(List<String> classifyAreas) {
        this.classifyAreas = classifyAreas;
    }

    public List<BusinessCategoryQueryVO> getCategories() {
        return categories;
    }

    public void setCategories(List<BusinessCategoryQueryVO> categories) {
        this.categories = categories;
    }
}
